package com.opi.dao;

import org.apache.log4j.Logger;

import com.opi.bean.NetworkBean;

public class NetworkDao extends BaseDao{

	private String sql = "";
	private  Logger logger = Logger.getLogger(NetworkDao.class);
	
	public boolean addNetworkInfo(NetworkBean netBean){
		sql = "INSERT INTO  t_network (netin,netout,ctime) VALUES"
				+ " ('"+netBean.getNetin()+"','"+netBean.getNetout()+"','"+netBean.getCtime()+"')" ;
		logger.info(sql);
		return adu(sql);
	}
	
}
